<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/jquery.min.js"></script>
    <script  src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
</head>
<body>

    <div id="wx_login_container"></div>

    <script>

        $(document).ready(function()
        {
            var obj = new WxLogin({
                self_redirect: true,
                id:"wx_login_container", 
                appid: "wxbf5e4cbd80f6c6f7", 
                scope: "snsapi_login", 
                redirect_uri: "http://note.java.it.cn/weixinlogin.do",
                state: "",
                style: "black"
                //href: "", //https://某个域名下的css文件
             });
        });
        </script>
    
</body>
</html>